package router

import (
	"github.com/gin-gonic/gin"
	"video/internal/api"
)

func Router(r *gin.Engine) {
	r.POST("/upload", api.Upload)
	r.POST("/add", api.VideoAdd)
	r.GET("/list", api.VideoList)
	r.GET("/show", api.VideoShow)
	r.GET("/user", api.UserList)
}
